package alex.rsx.data;

import java.util.Vector;

import alex.rsx.activity.r.R;

public class StaticData {

	public final static int ID_PERSONAL_BOOKSHELF = 0x0001;
	public final static int ID_PERSONAL_ACHIEVEMENT = 0x0002;
	public final static int ID_PERSONAL_INFORMATION = 0x0003;
	
	public final static int ID_RANK_TATOL = 0x0011;
	public final static int ID_RANK_MONTH = 0x0012;
	public final static int ID_RANK_WEEK = 0x0013;
	public final static int ID_RANK_DAY= 0x0014;
	
	public final static int ID_CLASSIFY_1 = 0x0021;
	public final static int ID_CLASSIFY_2 = 0x0022;
	public final static int ID_CLASSIFY_3 = 0x0023;
	public final static int ID_CLASSIFY_4 = 0x0024;
	
	
	private static Vector<MenuItem> mMenuItems;
	private static Vector<MenuItem> mPersonalItems;
	private static Vector<MenuItem> mClassifys;
	static {
		mMenuItems = new Vector<MenuItem>();
		MenuItem item0 = new MenuItem();
		item0.tag = 0;
		item0.name = "";
		item0.icon = R.drawable.main_left_icon_ranking;
		mMenuItems.add(item0);
		
		/****************
		 * 排行榜
		 */
		MenuItem item1 = new MenuItem();
		item1.tag = 1;
		item1.name = "排行榜";
		item1.icon = R.drawable.main_left_icon_ranking;
		item1.list = new Vector<MenuItem>();
		
		MenuItem item11 = new MenuItem();
		item11.tag = ID_RANK_TATOL;
		item11.name = "总排行";
		item11.icon = R.drawable.main_left_icon_ranking;
		item1.list.add(item11);
		
		MenuItem item12 = new MenuItem();
		item12.tag = ID_RANK_MONTH;
		item12.name = "月排行";
		item12.icon = R.drawable.main_left_icon_ranking;
		item1.list.add(item12);
		
		MenuItem item13 = new MenuItem();
		item13.tag = ID_RANK_WEEK;
		item13.name = "周排行";
		item13.icon = R.drawable.main_left_icon_ranking;
		item1.list.add(item13);
		
		MenuItem item14 = new MenuItem();
		item14.tag = ID_RANK_DAY;
		item14.name = "日排行";
		item14.icon = R.drawable.main_left_icon_ranking;
		item1.list.add(item14);
		
		mMenuItems.add(item1);
		
		
		
		/**
		 * 书籍分类
		 */
		MenuItem item2 = new MenuItem();
		item2.tag = 0;
		item2.name = "分类";
		item2.icon = R.drawable.main_left_icon_ranking;
		item2.list = new Vector<MenuItem>();
		
		MenuItem item21 = new MenuItem();
		item21.tag = ID_CLASSIFY_1;
		item21.name = "言情青春";
		item21.icon = R.drawable.main_left_icon_classify1;
		item2.list.add(item21);
		
		MenuItem item22 = new MenuItem();
		item22.tag = ID_CLASSIFY_2;
		item22.name = "世相传奇";
		item22.icon = R.drawable.main_left_icon_classify2;
		
		MenuItem item23 = new MenuItem();
		item23.tag = ID_CLASSIFY_3;
		item23.name = "悬疑惊悚";
		item23.icon = R.drawable.main_left_icon_classify3;
		
		MenuItem item24 = new MenuItem();
		item24.tag = ID_CLASSIFY_4;
		item24.name = "都市其他";
		item24.icon = R.drawable.main_left_icon_classify4;
		
		mMenuItems.add(item2);
		
		/**
		 * 专题
		 */
		MenuItem item3 = new MenuItem();
		item3.tag = 0;
		item3.name = "专题";
		item3.icon = R.drawable.main_left_icon_ranking;
		item3.list = new Vector<MenuItem>();
		
		MenuItem item31 = new MenuItem();
		item31.tag = 0;
		item31.name = "专题1";
		item31.icon = R.drawable.a33;
		item3.list.add(item31);
		
		MenuItem item32 = new MenuItem();
		item32.tag = 0;
		item32.name = "专题2";
		item32.icon = R.drawable.a34;
		item3.list.add(item32);
		mMenuItems.add(item3);
		
		mClassifys = new Vector<MenuItem>();
		mClassifys.add(item21);
		mClassifys.add(item22);
		mClassifys.add(item23);
		mClassifys.add(item24);
		
		mPersonalItems = new Vector<MenuItem>();
		MenuItem item41 = new MenuItem();
		item41.tag = ID_PERSONAL_BOOKSHELF;
		item41.name = "我的书架";
		item41.icon = R.drawable.main_right_icon_bookshelf;
		mPersonalItems.add(item41);
		
		
		MenuItem item42 = new MenuItem();
		item42.tag = ID_PERSONAL_ACHIEVEMENT;
		item42.name = "阅读成就";
		item42.icon = R.drawable.main_right_icon_achievement;
		mPersonalItems.add(item42);
		
		MenuItem item43 = new MenuItem();
		item43.tag = ID_PERSONAL_INFORMATION;
		item43.name = "个人信息";
		item43.icon = R.drawable.main_right_icon_personal;
		mPersonalItems.add(item43);
		
	}
	
	
	public static Vector<MenuItem> getMenuItem(){
		return mMenuItems;
	}
	
	public static Vector<MenuItem> getClassifys(){
		return mClassifys;
	}
	
	public static Vector<MenuItem> getPersonalItems(){
		return mPersonalItems;
	}
}
